package service;

import java.util.List;

import model.users;
public interface IUserService {
	public boolean insertUser(users user)throws Exception;
	public boolean updateUser(users user) throws Exception;
	public boolean deleteUser(int Id)throws Exception;
	public List<users> findAll()throws Exception;
	public users findById(int Id)throws Exception;
	public users findByName(String name)throws Exception;
	public boolean checkName(String name,String password)throws Exception;
	public boolean IsName(String name)throws Exception;//用户名是否存在

}